package com.xhtt.modules.reportform.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhtt.common.utils.DoubleInfo;
import com.xhtt.modules.reportform.model.InsEveryTeamReport;
import com.xhtt.modules.reportform.model.InsEveryoneReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 统计分析-现场巡检
 *
 * @author xj
 * @since 2019-02-14
 */
public interface InsReportMapper extends BaseMapper<InsEveryoneReport> {

    List<InsEveryoneReport> queryInsEveryone(Page<InsEveryoneReport> page, @Param("params") Map<String, Object> params);

    List<InsEveryTeamReport> queryInsEveryTeam(Page<InsEveryTeamReport> page, @Param("params") Map<String, Object> params);

    List<InsEveryTeamReport> queryEverydayTotal(Page<InsEveryTeamReport> page, @Param("params") Map<String, Object> params);

    DoubleInfo<Integer, Integer> queryEverydayInsCase(@Param("params") Map<String, Object> params);

}
